package service.impl;

import mapper.DrugBatchMapper;
import mapper.DrugMapper;
import model.Drug;
import model.DrugBatch;
import org.springframework.stereotype.Service;
import service.DrugBatchService;
import service.DrugService;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DrugBatchServiceImpl implements DrugBatchService {
    @Resource
    private DrugBatchMapper mapper;


    @Override
    public List<DrugBatch> findAll(int id) {
        return mapper.findAll(id);
    }
}
